package event
{
	import flash.events.Event;
	public class LoginEvent extends Event
	{
		// define event type
		public static const EVENT_LOGIN:String="mylogin";
		public static const EVENT_LOGINSUC:String = "myloginsucced";
		public static const EVENT_LOGINFAIL:String = "myloginfail";

		public var userName:String;
		public var pwd:String;

		public function LoginEvent(type:String="", userName:String="", pwd:String="")
		{
			super(type, true);
			this.userName = userName;
			this.pwd = pwd;
		}
	}
}

